﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace AIniciacao.Lib.GameUtils
{
    public class GameConstants
    {
       #region CutScenes Constants
       public const string NewYorkCutSceneIndex = "newYorkCutScene";
       public const string BeginCutSceneIndex = "beginScene";
       #endregion 
       public const string Content = "Content";
       public const int AmountOfHealth = 500;
       public const int MaxHealth = 500;
       #region Layers Constants
       public const int TerrainLayer = 0;
       public const int TriggerLayer = 1;
       #endregion

       #region CutScenes Constants
       public const int PowerUpTriggerIndex = 1;
       public const int PowerDownTriggerIndex = 2;
       public const int OpenDoorTriggerIndex = 3;
       public const int DeathTriggerIndex = 4;
       #endregion

       #region Health Constants
       public static Vector2 BoxPosition = new Vector2(1,1);
       public static Vector2 HealthPosition = new Vector2(7, 12);
       public const bool HealthRecovery=true;
       public const float RecoveryFactor=0.5f; 
       public const bool BoxFlip = true;
       public const bool HeathFlip = false;

       #endregion
       public const int StanleyCollisionDiff = 425;   
       #region Stanley Animation
       public static Vector2 StanleyInitialPosition = new Vector2(10000, 600);
       //public static Vector2 StanleyInitialPosition = new Vector2(300, 600);
       public static Vector2 StanleyInitialVelocity = new Vector2(20, 20);

       public const int StanleyAnimationUpFramesPerSecond = 6;
       public const int StanleyAnimationUpAmountOfColumns = 3;
       public const int StanleyAnimationUpAmounfOfLines = 1;
       public const int StanleyAnimationUpFrameWidth = 100;
       public const int StanleyAnimationUpFrameHeight = 150;
       public const bool StanleyAnimationUpLoop = true;

       public const int StanleyAnimationDownFramesPerSecond = 6;
       public const int StanleyAnimationDownAmountOfColumns = 3;
       public const int StanleyAnimationDownAmounfOfLines = 1;
       public const int StanleyAnimationDownFrameWidth = 100;
       public const int StanleyAnimationDownFrameHeight = 150;
       public const bool StanleyAnimationDownLoop = true;     

       public const int StanleyAnimationLeftFramesPerSecond = 6;
       public const int StanleyAnimationLeftAmountOfColumns = 3;
       public const int StanleyAnimationLeftAmounfOfLines = 1;
       public const int StanleyAnimationLeftFrameWidth = 90;
       public const int StanleyAnimationLeftFrameHeight = 150;
       public const bool StanleyAnimationLeftLoop = true;
       
       public const int StanleyAnimationRightFramesPerSecond = 6;
       public const int StanleyAnimationRightAmountOfColumns = 3;
       public const int StanleyAnimationRightAmounfOfLines = 1;
       public const int StanleyAnimationRightFrameWidth = 88;
       public const int StanleyAnimationRightFrameHeight = 150;
       public const bool StanleyAnimationRightLoop = true;

       public const int StanleyAnimationStayFramesPerSecond = 6;
       public const int StanleyAnimationStayAmountOfColumns = 1;
       public const int StanleyAnimationStayAmounfOfLines = 1;
       public const int StanleyAnimationStayFrameWidth = 100;
       public const int StanleyAnimationStayFrameHeight = 150;
       public const bool StanleyAnimationStayLoop = false;
       #endregion


    }
}
